package com.sky.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 贾晓晨
 * @version 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ArticleSubmitDTO implements Serializable {
    @ApiModelProperty(value = "文章标题", required = true)
    private String title;
    @ApiModelProperty(value = "文章标题图片", required = false)
    private String titleImg;
    @ApiModelProperty(value = "文章内容", required = true)
    private String content;
    @ApiModelProperty(value = "文章标签", required = true)
    private List<String> tags;
    @ApiModelProperty(value = "发送人的昵称", required = true)
    private String authorNickName;
}
